package com.i2works.smartluolong.web.dal.company.dao;

import com.i2works.smartluolong.utils.basecommon.BaseCommonDAO;
import com.i2works.smartluolong.utils.exception.DAOException;
import com.i2works.smartluolong.web.entity.company.CompanyChangeMemberDO;
import com.i2works.smartluolong.web.entity.company.CompanyChangeMemberQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 工商变更、备案 - 公司成员持久层接口
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/3/14 17:31
 */
@Mapper
@Repository("companyChangeMemberDAO")
public interface ICompanyChangeMemberDAO extends BaseCommonDAO<CompanyChangeMemberQuery, CompanyChangeMemberDO> {
    /**
     * 后台查询股东信息（返回股东身份）
     */
    List<CompanyChangeMemberDO> queryShareHolderList(CompanyChangeMemberQuery query) throws DAOException;
}
